/**
 * FloatButton 组件的主题配置
 */

import type { ComponentToken } from 'antd/es/float-button/style';

const BADGE_TOKENS = {
  dotOffsetInCircle: 0,
  dotOffsetInSquare: 0,
} as const;

export const floatButtonThemeConfig: Partial<ComponentToken> = {
  dotOffsetInCircle: BADGE_TOKENS.dotOffsetInCircle,
  dotOffsetInSquare: BADGE_TOKENS.dotOffsetInSquare,
};

export const getFloatButtonTheme = (
  customConfig?: Partial<ComponentToken>
): Partial<ComponentToken> => {
  return {
    ...floatButtonThemeConfig,
    ...customConfig,
  };
};

export type { ComponentToken as FloatButtonComponentToken } from 'antd/es/float-button/style';

